export default function sendMessageTabs(tabId: number, message: any) {
    return new Promise(res => {
        chrome.tabs.sendMessage(tabId, message, function (response) {
            res(response)
        });
    })
}